package com.website.system.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;


public class FlowerType extends Model<FlowerType>{

    private static final long serialVersionUID = 1L;

    //花卉类型id
    @TableId(value = "fid",type = IdType.AUTO)
    private Integer fid;

    //花卉类型名称
    private String fname;

    //花卉类型详情
    private String detail;

    public Integer getFid() {
        return fid;
    }

    public void setFid(Integer fid) {
        this.fid = fid;
    }

    public String getFname() {
        return fname;
    }

    public void setFname(String fname) {
        this.fname = fname;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    @Override
    public String toString() {
        return "FlowerType{" +
                "fid=" + fid +
                ", fname='" + fname + '\'' +
                ", detail='" + detail + '\'' +
                '}';
    }

    @Override
    protected Serializable pkVal() {
        return null;
    }

}
